package cn.samler.shopapi.Model.Response.Order;

import cn.samler.shopapi.Entity.Address;
import cn.samler.shopapi.Model.Response.Goods.GoodsDetails;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class OrderDetails {
    private String id;

    private String payType;

    private List<GoodsDetails> goodsList;

    private Address address;

    private Double money;

    private String remark;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date date;

    private Integer status;
}
